import { 
  HomeIcon,
  UsersIcon,
  CubeIcon,
  ShoppingCartIcon,
  BanknotesIcon,
  ChartBarIcon,
  Cog6ToothIcon,
  TruckIcon
} from "@heroicons/react/24/outline"

export const dashboardNav = [
  {
    name: '首页',
    href: '/dashboard',
    icon: HomeIcon
  },
  {
    name: '员工管理',
    href: '/dashboard/employees',
    icon: UsersIcon,
    role: ['ADMIN', 'MANAGER']
  },
  {
    name: '供应商管理',
    href: '/dashboard/suppliers',
    icon: TruckIcon,
    role: ['ADMIN', 'MANAGER']
  },
  {
    name: '库存管理',
    href: '/dashboard/inventory',
    icon: CubeIcon,
    children: [
      {
        name: '商品管理',
        href: '/dashboard/inventory/products'
      },
      {
        name: '分类管理',
        href: '/dashboard/inventory/categories'
      },
      {
        name: '入库管理',
        href: '/dashboard/inventory/inbound',
        description: '管理商品入库单，包括创建入库单、查看入库记录等'
      },
      {
        name: '出库管理',
        href: '/dashboard/inventory/outbound'
      }
    ]
  },
  {
    name: '销售管理',
    href: '/dashboard/sales',
    icon: ShoppingCartIcon,
    children: [
      {
        name: '销售开单',
        href: '/dashboard/sales/create'
      },
      {
        name: '销售记录',
        href: '/dashboard/sales/records'
      },
      {
        name: '退货管理',
        href: '/dashboard/sales/returns'
      }
    ]
  },
  {
    name: '财务管理',
    href: '/dashboard/finance',
    icon: BanknotesIcon,
    role: ['ADMIN', 'MANAGER'],
    children: [
      {
        name: '收入记录',
        href: '/dashboard/finance/income'
      },
      {
        name: '支出记录',
        href: '/dashboard/finance/expense'
      },
      {
        name: '财务报表',
        href: '/dashboard/finance/reports'
      }
    ]
  },
  {
    name: '统计报表',
    href: '/dashboard/reports',
    icon: ChartBarIcon,
    children: [
      {
        name: '销售统计',
        href: '/dashboard/reports/sales'
      },
      {
        name: '库存统计',
        href: '/dashboard/reports/inventory'
      }
    ]
  },
  {
    name: '系统设置',
    href: '/dashboard/settings',
    icon: Cog6ToothIcon,
    role: ['ADMIN'],
    children: [
      {
        name: '用户管理',
        href: '/dashboard/settings/users'
      }
    ]
  }
] 